/*    */ package net.sourceforge.appgen.model;
/*    */ 
/*    */ import java.beans.PropertyChangeListener;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ 
/*    */ public class ValueModifyModel
/*    */ {
/*    */   protected List<ValueModifyListener> valueModifyListeners;
/*    */ 
/*    */   public ValueModifyModel()
/*    */   {
/* 31 */     this.valueModifyListeners = new ArrayList();
/*    */   }
/*    */ 
/*    */   public void addValueModifyListener(ValueModifyListener listener) {
/* 35 */     if (this.valueModifyListeners.contains(listener)) {
/* 36 */       return;
/*    */     }
/*    */ 
/* 39 */     this.valueModifyListeners.add(listener);
/*    */   }
/*    */ 
/*    */   public void valueModified() {
/* 43 */     for (ValueModifyListener listener : this.valueModifyListeners)
/* 44 */       listener.valueModified();
/*    */   }
/*    */ 
/*    */   public void addPropertyChangeListener(PropertyChangeListener listener)
/*    */   {
/*    */   }
/*    */ 
/*    */   public void removePropertyChangeListener(PropertyChangeListener listener)
/*    */   {
/*    */   }
/*    */ }

/* Location:           C:\Users\lzl6066\Downloads\net.sourceforge.appgen_1.2.0\plugins\net.sourceforge.appgen_1.2.0.201002031718\
 * Qualified Name:     net.sourceforge.appgen.model.ValueModifyModel
 * JD-Core Version:    0.6.0
 */